package cn.qingyun.gis.modules.scenes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author LHJ
 * @description
 * @date 2024/10/29 18:08
 */
@Data
public class PoiUpdateLog {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String code;

    private Boolean success;

    private Integer successCount;

    private String message;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    /**
     * 日志类型
     */
    private Integer type;
    /**
     * 内容
     */
    private String content;
}
